#模块
from study.模块.my_test import utils_add

print(utils_add.add(1, 2))

#同名
# import utils_reduce as utils_add
# print(utils_add.recude(1,2))
# my_dict = {"key1":"value1","key2":"value2"}
# for i in my_dict:
#     print(i)
#
# for i,j in my_dict.items():
#     print(i + j) # key1value1
#     print(type(i)) # str
#
# for i in my_dict.items():
#     print(i) # ('key1', 'value1')
#     print(type(i))# tuple
#

f = open("D:\\my_test\\my_test.txt",'r',encoding='UTF8')
for i in f:
    #不自动换行输出
    print(i,end='')
f.close()